You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > SignalUtils Class > SignalUtils Methods > SignalUtils.NearestDCCrossing Method
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
SignalUtils.NearestDCCrossing Method

Find the nearest DC crossing.

Syntax
C#
Visual Basic
public static void NearestDCCrossing([In] TVec Data, ref double Pos, out double Y, double DC, bool LinInterpolate);

Converge to the nearest DC crossing of Data, if the start position is at Data[Pos]. Return the position of the found DC crossing in Index and amplitude in Y. Use linear interpolation, if LinInterpolate is True, to determine the position of the actual intersection of the Data time series with zero. Use Y to determine how close the interpolation came (Y should be DC).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!